package com.fxd.shopping.product.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Catalog2DTO {

    /**
     * 一级分类id
     */
    private String catalog1Id;

    /**
     * 当前分类id
     */
    private String id;

    private String name;

    /**
     * 下级分类集合
     */
    private List<level3Catalog> catalog3List;


    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class level3Catalog {

        private String catalog2Id;

        private String id;

        private String name;

    }
}
